package ua_gov_energy_vkek_icelineacct.service;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import ua_gov_energy_vkek_icelineacct.model.User;

/**
 * @author moroz
 */
@Stateless()
public class UsersFacade extends AbstractFacade<User> {
    
    @PersistenceContext(name = "radius")
    private EntityManager em;

    public UsersFacade(){
        super(User.class);
    }
    
    @Override
    protected EntityManager getEntityManager() {
        return em;
    }
}
